<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body">
        <div class="layui-form-item">
            <label class="layui-form-label">学校</label>
            <div class="layui-input-block">
                <input name="school_id" value="{$vo.school_id|default=''}" data-source="{:url('/admin/school/selectpage')}" data-position="fixed" data-field="name" placeholder="学校" class="layui-input selectpage">
            </div>
        </div>

        <div class="layui-form-item" >
            <label class="layui-form-label">社团名称</label>
            <div class="layui-input-block">
                <input name="name" required value='{$vo.name|default=""}' placeholder="请输入社团名称" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required">LOGO图片<span class="nowrap color-red">700*420</span></label>
            <div class="layui-input-block">
                <input name="logo" data-upload-image type="hidden" value="{$vo.logo|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">详情图(多张,<span style="color:red;">750px*任意高度</span>)</label>
            <div class="layui-input-block layui-form">
                <input name="images" data-upload-image="Multiple" type="hidden" value="{$vo.images|default=''}">
            </div>
        </div>

    </div>
    <div class="hr-line-dashed"></div>
    <div class="layui-form-item text-center">
        <!--{notempty name='vo.id'}-->
        <input type='hidden' value='{$vo.id}' name='id'>
        <!--{/notempty}-->
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>

</form>
